/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package service;

import java.util.List;
import pojo.SanPham;

;

import pojo.ChiTietDonDatHang;

/**
 *
 * @author MongKieu
 */
public interface ChiTietDonDatHangService {

    public List<ChiTietDonDatHang> listChiTietDonDatHang();

    public List<ChiTietDonDatHang> listChiTietDonDatHangBanChayNhat(int soLuongSanPhamMax);

    public int tinhSoLuongTrang(int soLuongSanPhamMax);

    public int soLuongChiTietDonHangBanChayNhat(int soLuongSanPhamMax);

    public List<ChiTietDonDatHang> listChiTietDonDatHangBanChayNhatCoPhanTrang(int trang);

    public List<SanPham> listSanPhamBanChayNhat(int soLuongSanPhamMax);
}
